package com.atxuwei.easyExcel;

import com.alibaba.excel.annotation.ExcelProperty;
import lombok.Data;

public class UserData{
    @ExcelProperty(value = "用户ID",index = 0)
    private int uId;
    @ExcelProperty(value = "用户名",index = 1)
    private String uName;

    public UserData() {
    }

    public UserData(int uId, String uName) {
        this.uId = uId;
        this.uName = uName;
    }

    public int getuId() {
        return uId;
    }

    public void setuId(int uId) {
        this.uId = uId;
    }

    public String getuName() {
        return uName;
    }

    public void setuName(String uName) {
        this.uName = uName;
    }

    @Override
    public String toString() {
        return "UserData{" +
                "uId=" + uId +
                ", uName='" + uName + '\'' +
                '}';
    }
}
